﻿@page "/"
@namespace MUnique.OpenMU.AdminPanel.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>OpenMU AdminPanel</title>
    <base href="~/" />
    <link href="css/site.css" rel="stylesheet" />
    <link href="_content/Blazored.Typeahead/blazored-typeahead.css" rel="stylesheet" />
    <link href="_content/Blazored.Modal/blazored-modal.css" rel="stylesheet" />
</head>
<body>
    <app>
        <component type="typeof(App)" render-mode="ServerPrerendered" />
    </app>

    <div id="blazor-error-ui">
        <environment include="Staging,Production">
            An error has occurred. This application may no longer respond until reloaded.
        </environment>
        <environment include="Development">
            An unhandled exception has occurred. See browser dev tools for details.
        </environment>
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>

    <script src="_framework/blazor.server.js"></script>
    <script src="_content/Blazored.Typeahead/blazored-typeahead.js"></script>
    <script src="_content/Blazored.Modal/blazored.modal.js"></script>
    <script src="_content/BlazorInputFile/inputfile.js"></script>
    <script src="js/system-production.js"></script>
    <script src="js/map.js"></script>
    <script src="js/app.js"></script>
    <script src="js/Stats.js"></script>
    <script>
    // To be able to resolve react etc. in the modules, SystemJS needs to be configured.
    // These modules are loaded by SystemJS when they get requested the first time. No need to manually load them.
    System.config({
        map: {
            'three': '@Url.Content("js/three.min.js")',
            'tween': '@Url.Content("js/tween.min.js")'
        }
    });
    </script>
</body>
</html>
